﻿using BasicInformation.Domain;
using BasicInformation.Dtos;
using BasicInformation.ErrorCode;
using MediatR;

namespace BasicInformation.ApiRead.Application.Command.Product
{
    public class GetProductCommand:IRequest<ApiPaging<ProductDTO>>
    {
        /// <summary>
        /// 产品编号(自动生产)
        /// </summary>
        public string? ProductCode { get; set; }
        /// <summary>
        /// 产品名称
        /// </summary>
        public string? ProductName { get; set; }
        /// <summary>
        /// 类别
        /// </summary>
        public int? CategoryId { get; set; }
        public int index { get; set; } = 1;
        public int size { get; set; } = 15;
    }
}
